<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta content="text/html; charset=UTF-8" http-equiv="content-type">
    <meta charset="utf-8">
    <title>{{$data.title}} - 后台管理</title>
    <link href="{{$smarty.const.APP_URL}}templates/admin/css/admin.css" type="text/css" rel="stylesheet">
    <link href="{{$smarty.const.APP_URL}}templates/admin/js/artDialog/black.css" type="text/css" rel="stylesheet">
    <script type="text/javascript" src="{{$smarty.const.APP_URL}}templates/admin/js/jquery-1.8.3.min.js"></script>
    <script type="text/javascript" src="{{$smarty.const.APP_URL}}templates/admin/js/jquery.cookie.js"></script>
    <script type="text/javascript" src="{{$smarty.const.APP_URL}}templates/admin/js/artDialog/jquery.artDialog.min.js"></script>
    <script type="text/javascript" src="{{$smarty.const.APP_URL}}templates/admin/js/admin.js"></script>
    <script type="text/javascript">
        var this_uri = "/admin/user/index";
    </script>
</head>
<body>

<div id="header">
    <div class="logo"><a href="/admin/"><img src="{{$smarty.const.APP_URL}}templates/admin/images/logo.png" title="后台首页"></a></div>
    <div class="loading"><div id="ajax-loader" title="Ajax数据更新中..."></div></div>
    <div id="topbar">
        <!--顶部菜单 start-->
        {{include file="{{$smarty.const.APP_PATH}}Admin/View/public/topmenu.html"}}
        <!--顶部菜单 end-->
        <!--顶部右侧 start-->
        {{include file="{{$smarty.const.APP_PATH}}Admin/View/public/topuser.html"}}
        <!--顶部右侧 end-->
        <div></div>
    </div>
</div>

<div><!-- 外层添加一个DIV解决IE8下margin-top的问题 -->
    <table id="maintable" cellpadding="0" cellspacing="0">
        <tbody><tr>
            <!--左侧菜单 start-->
            {{include file="{{$smarty.const.APP_PATH}}Admin/View/public/leftmenu.html"}}
            <!--左侧菜单 end-->
            <!--主要TD start-->
            <td class="maintd" valign="top">
                <div class="maindiv">
                    <div id="main">
                        <div class="itemtitle">
                            <h3>查看用户</h3>
                            <ul>
                                <!--<a class="link-btn" href="/admin/user/user_add">添加用户</a>-->
                                <a class="link-btn" href="/admin/user/index">用户列表</a>
                            </ul>
                        </div>
                            <table class="tb">
                                <tbody>
                                <tr>
                                    <td class="tbheader" colspan="38">用户个人信息</td>
                                </tr>
                                <!--<tr>
                                    <td class="td">
                                        <b>用户名:</b>
                                    </td>
                                    <td class="td last">
                                        {{$user_info.member_name}}
                                    </td>
                                </tr>-->
                                <tr>
                                    <td class="td">
                                        <b>注册邮箱:</b>
                                    </td>
                                    <td class="td last">
                                        {{$user_info.member_email}}
                                    </td>
                                </tr>
                                <tr>
                                    <td class="td">
                                        <b>注册手机号码:</b>
                                    </td>
                                    <td class="td last">
                                        {{$user_info.member_mobile}}
                                    </td>
                                </tr>
                                <tr>
                                    <td class="td">
                                        <b>真实姓名:</b>
                                    </td>
                                    <td class="td last">
                                        {{$user_info.member_truename}}
                                    </td>
                                </tr>
                                <tr>
                                    <td class="td">
                                        <b>性别:</b>
                                    </td>
                                    <td class="td last">
                                        {{if $user_info.member_sex==1}}男{{/if}}{{if $user_info.member_sex==2}}女{{/if}}
                                    </td>
                                </tr>
                                <tr>
                                    <td class="td">
                                        <b>头像:</b>
                                    </td>
                                    <td class="td last">
                                        <img src="{{$user_info.member_avatar}}" style="width:75px;height:75px"/>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="td">
                                        <b>固定电话:</b>
                                    </td>
                                    <td class="td last">
                                        {{$user_info.member_telephone}}
                                    </td>
                                </tr>
                                <tr>
                                    <td class="td">
                                        <b>联系地址:</b>
                                    </td>
                                    <td class="td last">
                                        {{$user_info.member_address}}
                                    </td>
                                </tr>
                                <tr>
                                    <td class="td">
                                        <b>邮编:</b>
                                    </td>
                                    <td class="td last">
                                        {{$user_info.member_zipcode}}
                                    </td>
                                </tr>
                                <tr>
                                    <td class="td">
                                        <b>身份证号:</b>
                                    </td>
                                    <td class="td last">
                                        {{$user_info.member_idcard_num}}
                                    </td>
                                </tr>
                                <tr>
                                    <td class="td">
                                        <b>QQ:</b>
                                    </td>
                                    <td class="td last">
                                        {{$user_info.member_qq}}
                                    </td>
                                </tr>
                                <!--<tr>-->
                                    <!--<td class="td">-->
                                        <!--<b>部门:</b>-->
                                    <!--</td>-->
                                    <!--<td class="td last">-->
                                        <!--{{$user_info.member_department}}-->
                                    <!--</td>-->
                                <!--</tr>-->
                                <tr>
                                    <td class="td">
                                        <b>余额:</b>
                                    </td>
                                    <td class="td last">
                                        {{$user_info.member_balance}}
                                    </td>
                                </tr>
                                </tbody>
                            </table>
                            <table class="tb">
                                <tbody>
                                <tr>
                                    <td class="tbheader" colspan="38">企业信息</td>
                                </tr>
                                <tr>
                                    <td class="td">
                                        <b>公司名:</b>
                                    </td>
                                    <td class="td last">
                                        {{$company_info.company_name}}
                                    </td>
                                </tr>
                                <tr>
                                    <td class="td">
                                        <b>公司地址:</b>
                                    </td>
                                    <td class="td last">
                                        {{$company_info.company_address}}
                                    </td>
                                </tr>
                                <tr>
                                    <td class="td">
                                        <b>公司网址:</b>
                                    </td>
                                    <td class="td last">
                                        {{$company_info.company_website}}
                                    </td>
                                </tr>
                                <tr>
                                    <td class="td">
                                        <b>公司电话:</b>
                                    </td>
                                    <td class="td last">
                                        {{$company_info.company_tel}}
                                    </td>
                                </tr>
                                <tr>
                                    <td class="td">
                                        <b>公司传真:</b>
                                    </td>
                                    <td class="td last">
                                        {{$company_info.company_fax}}
                                    </td>
                                </tr>
                                <tr>
                                    <td class="td">
                                        <b>用户所属部门:</b>
                                    </td>
                                    <td class="td last">
                                        {{$company_info.company_part}}
                                    </td>
                                </tr>
                                <tr>
                                    <td class="td">
                                        <b>职位:</b>
                                    </td>
                                    <td class="td last">
                                        {{$company_info.company_position}}
                                    </td>
                                </tr>
                                <tr>
                                    <td class="td">
                                        <b>主营产品（采购）:</b>
                                    </td>
                                    <td class="td last">
                                        {{$company_info.product_purchase}}
                                    </td>
                                </tr>
                                <tr>
                                    <td class="td">
                                        <b>主营产品（供应）:</b>
                                    </td>
                                    <td class="td last">
                                        {{$company_info.product_supply}}
                                    </td>
                                </tr>
                                <tr>
                                    <td class="td">
                                        <b>主营行业:</b>
                                    </td>
                                    <td class="td last">
                                        {{$company_info.company_industry}}
                                    </td>
                                </tr>
                                <tr>
                                    <td class="td">
                                        <b>主营业务:</b>
                                    </td>
                                    <td class="td last">
                                        {{$company_info.company_business}}
                                    </td>
                                </tr>
                                <tr>
                                    <td class="td">
                                        <b>企业规模:</b>
                                    </td>
                                    <td class="td last">
                                        {{$company_info.company_scale}}
                                    </td>
                                </tr>
                                <tr>
                                    <td class="td">
                                        <b>经营范围:</b>
                                    </td>
                                    <td class="td last">
                                        {{$company_info.company_range}}
                                    </td>
                                </tr>
                                <tr>
                                    <td class="td">
                                        <b>经营模式:</b>
                                    </td>
                                    <td class="td last">
                                        {{if $company_info.company_mode==1}}生产商{{/if}}
                                        {{if $company_info.company_mode==2}}贸易商{{/if}}
                                        {{if $company_info.company_mode==3}}服务商{{/if}}
                                        {{if $company_info.company_mode==4}}其他{{/if}}
                                    </td>
                                </tr>
                                <tr>
                                    <td class="td">
                                        <b>营业执照注册号:</b>
                                    </td>
                                    <td class="td last">
                                        {{$company_info.company_license_num}}
                                    </td>
                                </tr>
                                <tr>
                                    <td class="td">
                                        <b>组织机构代码:</b>
                                    </td>
                                    <td class="td last">
                                        {{$company_info.company_organization_code}}
                                    </td>
                                </tr>
                            </table>
                        <!--底部信息 start-->
                        {{include file="{{$smarty.const.APP_PATH}}Admin/View/public/sysinfo.html"}}
                        <!--底部信息 end-->
                    </div>
                </div>
            </td>
            <!--主要TD end-->
        </tr>
        </tbody></table>
</div>

<script type="text/javascript">
    jQuery(document).ready(function() {
        //调整高度
        $("#container").height($(window).height()-40);
        $(window).resize(function() {
            $("#container").height($(window).height()-40);
        });

        App.init();//左侧菜单初始化

        var a101 = $("#topbar"); //顶部下接菜单
        a101.find("dl").Jdropdown({delay: 0}, function(a){});

        //全选checkbox
        $("#checkAll").click(function(e){
            $("input[name='" + $(this).attr("for") + "']").attr("checked", this.checked);
        });
    });
</script>
</body>
</html>